package com.ruoyi.dzzh.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 巡查任务对象 dzzh_task
 * 
 * @author cjt
 * @date 2023-03-17
 */
public class DzzhTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    private Long taskId;

    /** 下发人 */
    @Excel(name = "下发人")
    private String taskIssue;

    /** 地灾点id */
    @Excel(name = "地灾点id")
    private String ptsId;

    /** 巡查人 */
    @Excel(name = "巡查人")
    private String taskUser;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private String taskType;

    /** 任务内容 */
    @Excel(name = "任务内容")
    private String taskContent;

    /** 任务开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date taskBegin;

    /** 任务结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date taskEnd;

    /** 巡查编号 */
    @Excel(name = "巡查编号")
    private String taskNo;

    /** 巡查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "巡查时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date taskDate;

    /** 巡查位置 */
    @Excel(name = "巡查位置")
    private String taskLocation;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private String taskComplete;

    /** 完成情况描述 */
    @Excel(name = "完成情况描述")
    private String taskDetail;

    /** 后续处理记录 */
    @Excel(name = "后续处理记录")
    private String taskDeal;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 巡查附件信息 */
    private List<FileTask> fileTaskList;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskIssue(String taskIssue) 
    {
        this.taskIssue = taskIssue;
    }

    public String getTaskIssue() 
    {
        return taskIssue;
    }
    public void setPtsId(String ptsId) 
    {
        this.ptsId = ptsId;
    }

    public String getPtsId() 
    {
        return ptsId;
    }
    public void setTaskUser(String taskUser) 
    {
        this.taskUser = taskUser;
    }

    public String getTaskUser() 
    {
        return taskUser;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }
    public void setTaskContent(String taskContent) 
    {
        this.taskContent = taskContent;
    }

    public String getTaskContent() 
    {
        return taskContent;
    }
    public void setTaskBegin(Date taskBegin) 
    {
        this.taskBegin = taskBegin;
    }

    public Date getTaskBegin() 
    {
        return taskBegin;
    }
    public void setTaskEnd(Date taskEnd) 
    {
        this.taskEnd = taskEnd;
    }

    public Date getTaskEnd() 
    {
        return taskEnd;
    }
    public void setTaskNo(String taskNo) 
    {
        this.taskNo = taskNo;
    }

    public String getTaskNo() 
    {
        return taskNo;
    }
    public void setTaskDate(Date taskDate) 
    {
        this.taskDate = taskDate;
    }

    public Date getTaskDate() 
    {
        return taskDate;
    }
    public void setTaskLocation(String taskLocation) 
    {
        this.taskLocation = taskLocation;
    }

    public String getTaskLocation() 
    {
        return taskLocation;
    }
    public void setTaskComplete(String taskComplete) 
    {
        this.taskComplete = taskComplete;
    }

    public String getTaskComplete() 
    {
        return taskComplete;
    }
    public void setTaskDetail(String taskDetail) 
    {
        this.taskDetail = taskDetail;
    }

    public String getTaskDetail() 
    {
        return taskDetail;
    }
    public void setTaskDeal(String taskDeal) 
    {
        this.taskDeal = taskDeal;
    }

    public String getTaskDeal() 
    {
        return taskDeal;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<FileTask> getFileTaskList()
    {
        return fileTaskList;
    }

    public void setFileTaskList(List<FileTask> fileTaskList)
    {
        this.fileTaskList = fileTaskList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskIssue", getTaskIssue())
            .append("ptsId", getPtsId())
            .append("taskUser", getTaskUser())
            .append("taskType", getTaskType())
            .append("taskContent", getTaskContent())
            .append("taskBegin", getTaskBegin())
            .append("taskEnd", getTaskEnd())
            .append("taskNo", getTaskNo())
            .append("taskDate", getTaskDate())
            .append("taskLocation", getTaskLocation())
            .append("taskComplete", getTaskComplete())
            .append("taskDetail", getTaskDetail())
            .append("taskDeal", getTaskDeal())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("fileTaskList", getFileTaskList())
            .toString();
    }
}
